package com.veryGood.mapper;

import com.veryGood.domain.pojo.DrugInfo;
import com.veryGood.domain.pojo.SalesInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 药品管理
 */
@Mapper
public interface SaleMapper {
    int addSale(SalesInfo salesInfo);

    List<SalesInfo> findSaleList(@Param("offset") Integer offset, @Param("rows") Integer rows);

    Integer countSale();

    int delSaleById(Integer id);
}
